<link rel="stylesheet" type="text/css" href="../css/themes/default/easyui.css">
<link rel="stylesheet" type="text/css" href="../css/themes/icon.css">

<div id="panel-duties-statistic" data-options="border:false;width:100%">
  	<div class="well well-small" style="margin-left: 5px;margin-top: 5px">
		
		<p>
			<span class="badge">提示</span>
			在此你可以对<span class="label-info"><strong>职能事项统计信息</strong></span>进行查询!
		</p>
	</div>
		
    <div class="tb-list" style="padding:2px 0">
		<table cellpadding="0" cellspacing="0"> 
			<tr>
				<td style="padding-left:2px" class="list-btn">
					<a href="javascript:void(0);" class="easyui-linkbutton function-btn" btn-type="export" iconcls="icon-export">导出</a>
				</td>
			</tr>
		</table>
	</div>
	<table class="easyui-datagrid dg-list">
		
		<thead>						
			<tr>
									<th field="dept_name" width="60" align="center">科室名称</th>			
					<th field="sumary_matter" width="40" align="center" data-options="
							styler: function(value,row,index){
								if (value > 0){
									return 'background-color:#ffee00;color:red;';							
								}
							}
						">超限事项</th>
					
					<th field="oaCarApply" width="40" align="center" data-options="
							styler: function(value,row,index){
								if (value > 0){
									return 'background-color:#ffee00;color:red;';							
								}
							}
						">用车申请</th>
					<th field="oaTempDrugPurchase" width="40" align="center" data-options="
							styler: function(value,row,index){
								if (value > 0){
									return 'background-color:#ffee00;color:red;';							
								}
							}
						">临时用药</th>
					<th field="oaNewDrugPurchase" width="40" align="center" data-options="
							styler: function(value,row,index){
								if (value > 0){
									return 'background-color:#ffee00;color:red;';							
								}
							}
						">新药引进</th>
					<th field="oaHighvalue" width="40" align="center" data-options="
							styler: function(value,row,index){
								if (value > 0){
									return 'background-color:#ffee00;color:red;';							
								}
							}
						">新增耗材</th>
					<th field="oaEquipmentPurchaseSmall" width="40" align="center" data-options="
							styler: function(value,row,index){
								if (value > 0){
									return 'background-color:#ffee00;color:red;';							
								}
							}
						">小型采购</th>
					<th field="oaEquipmentPurchaseMid" width="40" align="center" data-options="
							styler: function(value,row,index){
								if (value > 0){
									return 'background-color:#ffee00;color:red;';							
								}
							}
						">中型采购</th>
					<th field="oaEquipmentPurchaseBig" width="40" align="center" data-options="
							styler: function(value,row,index){
								if (value > 0){
									return 'background-color:#ffee00;color:red;';							
								}
							}
						">大型采购</th>
					<th field="oaEquipmentRepaire" width="40" align="center" data-options="
							styler: function(value,row,index){
								if (value > 0){
									return 'background-color:#ffee00;color:red;';							
								}
							}
						">设备维修</th>
					<th field="oaEquipmentOverhaul" width="40" align="center" data-options="
							styler: function(value,row,index){
								if (value > 0){
									return 'background-color:#ffee00;color:red;';							
								}
							}
						">设备大修</th>
					<th field="oaPersonnelRecruitment" width="40" align="center" data-options="
							styler: function(value,row,index){
								if (value > 0){
									return 'background-color:#ffee00;color:red;';							
								}
							}
						">人事招聘</th>
					<th field="oaPersonnelAppointLocal" width="40" align="center" data-options="
							styler: function(value,row,index){
								if (value > 0){
									return 'background-color:#ffee00;color:red;';							
								}
							}
						">干部任免</th>
					<th field="oaPersonnelAppointHighup" width="40" align="center" data-options="
							styler: function(value,row,index){
								if (value > 0){
									return 'background-color:#ffee00;color:red;';							
								}
							}
						">干部委任</th>
					<th field="oaLogisticsLargeEquip" width="40" align="center" data-options="
							styler: function(value,row,index){
								if (value > 0){
									return 'background-color:#ffee00;color:red;';							
								}
							}
						">后勤设备</th>
					<th field="oaLogisticsPurchaseLess" width="40" align="center" data-options="
							styler: function(value,row,index){
								if (value > 0){
									return 'background-color:#ffee00;color:red;';							
								}
							}
						">日常办公</th>
					<th field="oaLogisticsPurchaseOver" width="40" align="center" data-options="
							styler: function(value,row,index){
								if (value > 0){
									return 'background-color:#ffee00;color:red;';							
								}
							}
						">高值物资</th>
					<th field="oaLogisticsSmallRepair" width="40" align="center" data-options="
							styler: function(value,row,index){
								if (value > 0){
									return 'background-color:#ffee00;color:red;';							
								}
							}
						">后勤小修</th>
					<th field="oaLogisticsRepair" width="40" align="center" data-options="
							styler: function(value,row,index){
								if (value > 0){
									return 'background-color:#ffee00;color:red;';							
								}
							}
						">后勤大修</th>
					<th field="oaInfrastructureRepaire" width="40" align="center" data-options="
							styler: function(value,row,index){
								if (value > 0){
									return 'background-color:#ffee00;color:red;';							
								}
							}
						">基建维修</th>
					<th field="oaDeptPayment" width="40" align="center" data-options="
							styler: function(value,row,index){
								if (value > 0){
									return 'background-color:#ffee00;color:red;';							
								}
							}
						">付款申请</th>
			</tr>                         
		</thead>
		
	</table>
<script>
requirejs(['listPageModule','dutiesStatistic','domReady!'],function(dept,dutiesStatistic,doc){
	dept.init({doc:doc,
		rootId			: 'panel-duties-statistic',				
		subSystemCode	: 'duties',
		cellClick		: dutiesStatistic.clickCell,
		rowClick		: dutiesStatistic.clickRow,
		initElement 	: dutiesStatistic.initElement,
		moduleCode		: 'dutiesStatistic'
	});
});	

</script>

